package org.jeecg.modules.param.staffUser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class RoleRes {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 用户id
     */
    private String userId;

    /**
     * 角色id
     */
    private String roleId;

    public RoleRes() {
    }

    public RoleRes(String userId, String roleId) {
        this.userId = userId;
        this.roleId = roleId;
    }
}
